/*
 * Created on Feb 14, 2005
 * Created by dfhuynh
 */
package edu.mit.simile.longwell.query;

import java.util.List;

/**
 * @author dfhuynh
 */
public interface IPaginator {
	
	/**
	 * Answer a list of Page's.
	 * 
	 * @param sortedObjects
	 * @param query
	 * @param itemsPerPage
	 * @param fresh
	 * @return
	 */
	public List paginate(List sortedObjects, Query query, int itemsPerPage, boolean fresh);
}
